package com.changgou.entity;

public class CustomException extends RuntimeException {
    private Result result;

    public CustomException(int code, String message) {
        this.result = new Result(false, code, message, null);
    }

    public Result getResult() {
        return result;
    }
}
